<template>
  <div class="LevelManage" style="height: 100%;">
    <el-tabs v-model="activeName" style="height: 100%;" type="card" @tab-click="handleClick">
      <el-tab-pane label="等级权益设定" name="first">
        <GradeSetting ref="gradeSetting" />
      </el-tab-pane>
      <el-tab-pane label="等级客户管理" name="second">
        <GradeAdmin ref="gradeAdmin" style="height: 100%;" />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  export default {
    name: 'customerLevelManage',
    components: {
      GradeSetting: require('./components/gradeSetting').default,
      GradeAdmin: require('./components/gradeAdmin').default
    },
    data() {
      return {
        activeName: 'first'

      }
    },
    methods: {

      handleClick() {

      }

    }
  }
</script>

<style lang="scss" scoped>
.form {
  display: flex;
  flex-wrap: wrap;
  & /deep/ .el-form-item {
    padding-right: 10px;
    .el-form-item__content > .el-select {
      width: 100%;
    }
  }
  .block {
    width: 100%;
  }
}
.info-title {
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 20px;
  .title-icon {
    display: inline-block;
    width: 4px;
    height: 18px;
    margin-right: 6px;
    background: $themeColor;
  }
  span {
    font-weight: 700;
    color: $themeColor;
  }
}
.LevelManage {
  /deep/ .el-tabs__content {
    height: calc(100% - 56px);
    overflow: hidden;
  }
  /deep/ .el-tab-pane {
    height: 100%
    // overflow: hidden;
  }
}
// .el-tabs__content
</style>
